package com.ruoyi.recyclecomprehensive.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.recycle.dto.LoginDTO;
import com.ruoyi.recycle.vo.LoginVO;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface LoginService {
    LoginVO login(LoginDTO loginDTO) throws Exception;

    Map<String, String> wechatAuth(String code, String encryptedData, String iv);

    R logout(HttpServletRequest request);
}
